TANK_FALLTRIGGER (<Tank ID>, <Level>)
TANK_FALLTRIGGER (TankB, 500)
Waits until tank contents falls to a specified level.
Use Tank_FallTrigger to initiate an action when a tank level falls to a specific level.
<Tank ID>
The tank name or location index number.
<Level>
When the tank level falls to this value, any subsequent logic executes.
When an in-process tank, TankX, falls to 1000 gallons, it triggers a mixing tank to begin producing more product. To model this, define the following activated subroutine to control the mixing tank:
Tank_Loop //logic repeats continuously
{
Tank_FallTrigger(TankX, 1000)
[Insert logic to mix new batch here]
}
Please Note: Using Tank_FallTrigger instead of a WAIT UNTIL statement prevents the action from triggering again until the level first rises above the fall trigger level.
See Also
![]() |
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |